home *** CD-ROM | disk | FTP | other *** search
-
-
- #include "list&dialog.h"
-
- /***
- **
- ** The main "do nothing"
- ** Bernie Wieser '90
- **
- ** Purpose
- ** Initialize all needed stuff for list manager and dialog manager
- **
- ***/
-
- main()
- {
-
- MaxApplZone();
-
- /* init macintosh */
- FlushEvents(everyEvent,0);
- InitGraf(&thePort);
- InitFonts();
- InitWindows();
- InitMenus();
- TEInit();
- InitDialogs(NIL);
-
- /* other set ups */
- InitCursor();
-
- /* my dialog test */
- SetPort(thePort);
- do_dialog(thePort);
-
- /* clean up and (common) exit */
- ExitToShell();
- }